/** @jsxImportSource @emotion/react */
import * as React from "react";
import { OriginalViewProps, } from "../../common/base";
import {config设备概况, EntranceSetup, } from "../detThermal/orcBase";
import { createItem,  } from "../../common/eHelper";
import {useRecordListSubr} from "../../hook/useRecordListSub";
import {ConclusionDeThmemal, } from "../detThermal/Conclusion";
import {ProjectListRq} from "../../vessel/editProj";
import {ThreeConfigRaft} from "../../gas/editor";
import {VsProjects默认} from "./orcBase";


const recordPrintList =[
  createItem('Entrance', <EntranceSetup/>),
  createItem('ProjectList', <ProjectListRq config={VsProjects默认}  label={'目录页'}/>),
  createItem('Survey', <ThreeConfigRaft config={config设备概况} label={'锅炉能效测试综合报告-设备概况'}/>),
  createItem('Conclusion', <ConclusionDeThmemal label={'一、锅炉能效测试综合报告(下)'}/>),

  createItem('_Controller',  <></>),
];

export const OriginalView=
  React.forwardRef((
    { action: modAction,  verId, repId='', rep}
    :OriginalViewProps, ref
  ) => {
    const {list}=useRecordListSubr(ref,rep,recordPrintList,modAction,verId);
    return <React.Fragment>
      {list}
    </React.Fragment>;
  } );
